<html>
  <head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <title>Ajax Chat!</title>

    <script src="javascripts/prototype.js"></script>
    <script src="javascripts/chat.js"></script>
    <script type="text/javascript" charset="utf-8">
      // new Ajax.PeriodicalUpdater("log", "/chat", { method: "get" });
    </script>
  </head>
  <body>
    <h1>Welcome to Ajax Chat!</h1>

    <form action="/messages" method="post">
      <input type="text" name="message" id="message" size="60">
      <input type="submit" value="OK" />
    </form>

  </body>
</html>
